package com.claimSettlement.service.impl;

import com.claimSettlement.mapper.CheLossMapper;
import com.claimSettlement.pojo.CheLoss;
import com.claimSettlement.service.CheLossService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CheLossServiceImpl implements CheLossService {
    @Resource
    CheLossMapper cheLossMapper;

    public int insCheLoss(CheLoss cheLoss) {
        return cheLossMapper.insert(cheLoss);
    }

    public int updCheLoss(CheLoss cheLoss) {
        return cheLossMapper.updateById(cheLoss);
    }
}
